package com.qfedu.service;

import com.qfedu.pojo.req.UserReq;
import com.qfedu.pojo.req.UserRoleReq;
import com.qfedu.pojo.resp.BaseResp;

public interface AdminService {

    BaseResp login(UserReq userReq);

    BaseResp findAllAdmin(Integer page, Integer size);

    BaseResp isAuthenticated();

    BaseResp delAdmin(UserReq userReq);

    BaseResp addOrUpdAdmin(UserReq userReq);

    BaseResp findAllRoleAndAdminRole(int id);

    BaseResp updAdminRole(UserRoleReq userRoleReq);

    BaseResp logout();
}
